import api from './http'
//获取短信验证码
export const semsCode = (tel, ss) => api.post(`/x/smsCode`, { mobile: tel, sms_type: ss })
//登录
export const login = (obj) => api.post(`/x/login`, obj)
//设置密码
export const setpassword = (obj) => api.post(`/x/password`, obj)